package com.be.beadmin.project.entity;

import com.be.beadmin.project.dto.input.TeamDto;
import com.be.beadmin.project.dto.input.TeamInfoDto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * @Description:
 * @author: Jiaming Zheng
 * @Date: Create in 17:29 2023/2/4
 * @Modified By:
 **/

@JsonIgnoreProperties(
        ignoreUnknown = true
)
@Data
public class TeamEntity {
    public TeamDto team;
    public List<TeamInfoDto> teamInfoList;

    public TeamEntity() {
    }

    public TeamDto getTeam() {
        return team;
    }

    public void setTeam(TeamDto team) {
        this.team = team;
    }

    public List<TeamInfoDto> getTeamInfoList() {
        return teamInfoList;
    }

    public void setTeamInfoList(List<TeamInfoDto> teamInfoList) {
        this.teamInfoList = teamInfoList;
    }

    @Override
    public String toString() {
        return "TeamEntity{" +
                "team=" + team +
                ", teamInfoList=" + teamInfoList +
                '}';
    }
}
